const lang = {
    "zh": {
        small_title: "Vue.js横向日历组件",
        install: "安装",
        import: "引入",
        import_detail: "当前组件只支持局部引入",
        prop: "参数名",
        description: "说明",
        type: "类型",
        default: "默认值",
        required: "是否必填",
        slot: "插槽名",
        event: "事件名",
        cbArg: "回调参数",
        falseText: "否",

        example: "示例",
        week: "星期",
        year: "年",
        month: "月",
        eg1: "设置初始化选中日期",
        eg2: "设置可选日期范围",
        eg3: "设置左右切换的间隔天数",
        eg4: "设置语言",
        eg5: "自定义颜色、样式",
        eg6: "用周历的方式展示",

        propDesc1: "初始化选中的日期；可接收格式如‘2019/12/01’或‘2019-12-01’或 Date对象实例",
        propDesc2: "点击左右箭头，切换的日期间隔天数；最大值不超过当前组件可显示的天数",
        propDesc3: "当前默认选中的日期所处的位置；('left', 'center','right')",
        propDesc4: "最小日期限制；可接收格式如‘2019/12/01’或‘2019-12-01’或 Date对象实例",
        propDesc5: "最大日期限制；可接收格式如‘2019/12/01’或‘2019-12-01’或 Date对象实例",
        propDesc6: "选中的日期背景色",
        propDesc7: "‘今天’未选中时的背景色",
        propDesc8: "语言；('zh'(Chinese), 'en'(English))",
        propDesc9: "星期天的中文字；仅当lang属性为zh时有效",
        propDesc10: "是否显示日历组件的顶部边框",
        propDesc11: "屏幕尺寸改变时，是否重绘日历组件",
        propDesc12: "自定义左箭头内容",
        propDesc13: "自定义右箭头内容",
        propDesc14: "选中日期变化事件，函数参数回传当前当前选中的日期数据。",
        propDesc15: "数据格式如下：",
        propDesc16: "数据格式同change事件返回的数据格式",
        propDesc17: "当前显示的最左侧日期变化事件(常伴随着左右按钮点击事件发生，但其他情形比如屏幕resize事件等也可能会触发此事件)，函数参数回传当前当前最左侧的日期数据。",
        propDesc18: "左右按钮点击事件。回调函数返回左右方向；",
        propDesc19: "'left'：左侧按钮点击事件<br>'right'：右侧按钮点击事件",
        propDesc20: "设置了最大/最小 日期时，点击左右按钮，滑动到最左边/右边时，会触发此事件。回调函数返回左右方向；当左右按钮滑动到尽头后，再次点击按钮，不会触发“swipeClick”点击事件",
        propDesc21: "'left'：左侧日期滑动到最小值事件<br>'right'：右侧日期滑动到最大值事件",
        propDesc22: "周末日期样式的个性化配置：",
        propDesc23: "基于可能出现的使用场景，对于周末日期提供个性化样式设置的通道；",
        propDesc24: "你可以通过审查元素发现，周末的日期格子，会自带名为‘date-item-weekend’的class名；",
        propDesc25: "你可以基于此class名称，在项目中使用任意的样式来覆盖组件原本的样式；包括但不限于日期背景色，文字颜色，边框，after/before伪元素样式……",
        
        eg1_detail: "默认的初始化选中日期为‘今天’，可自定义任意日期。",
        eg2_detail: "由于当前日历插件是宽度自适应的，所以设置‘maxDate’时，请考虑到右侧最后一个日期可能存在显示不完全的问题；你可以通过设置父组件容器的宽度，来使得最后一个日期显示完整；日期滑动到最大/最小值，会触发“swipeToEnd”事件。",
        eg3_detail: "即左右切换按钮，单次滑动的日期天数；默认值为‘7’天",
        eg5_detail: ["选中的日期背景色","‘今天’未选中时的背景色","‘周日’的文字自定义（仅在lang='zh'时生效）","初始化选中日期所在的位置","是否显示日历条顶部的边框","通过slot自定义左右按钮的样式"],
        eg6_detail: ["将组件宽度设为410px；滑动间隔日期设置为7天；周历的外观就做好了；","自定义一个日历头部的样式，用于显示当前年月数据；","需要传入当前日期所在周的'周一'的日期作为choosedDate数据，因此需要动态计算该值；","通过组件提供的'firstDayChange'事件，动态变更当前周所在的年月数据(该事件会返回当前最左侧日期的数据)；"],

    },
    en: {
        small_title: "a horizontal calendar component for Vue.js",
        install: "Install",
        import: "Import",
        import_detail: "This component only supports local import",
        prop: "Prop",
        description: "Description",
        type: "Type",
        default: "Default",
        required: "Rquired",
        slot: "Slot",
        event: "Event",
        cbArg: "Callback Arg",
        falseText: "N",

        propDesc1: "the init choosed date; acceptable formats such as '2019/12/01','2019-12-01' or Date object instance",
        propDesc2: "the interval days when click arrows; maximum number of days that the current component can display",
        propDesc3: "position of the init choosed date; ('left', 'center','right')",
        propDesc4: "minimum date limit; acceptable formats such as '2019/12/01','2019-12-01' or Date object instance",
        propDesc5: "maximum date limit; acceptable formats such as '2019/12/01','2019-12-01' or Date object instance",
        propDesc6: "background color of choosed date",
        propDesc7: "the background color of today hasn't been choosed",
        propDesc8: "language；('zh'(Chinese), 'en'(English))",
        propDesc9: "sunday's Chinese text; valid only when lang = 'zh'",
        propDesc10: "show top border of calendar component or not",
        propDesc11: "whether to repaint components when screen resize",
        propDesc12: "custom left arrow content",
        propDesc13: "custom right arrow content",
        propDesc14: "the choosed date changes, the args of function will returns the data of choosed date object.",
        propDesc15: "the data format is as follows：",
        propDesc16: "the leftmost date changes; (It is often triggered by left and right button click events，but other situations, such as the screen resize event, may also trigger this event.) the args of function will returns the data of the leftmost date object.",
        propDesc17: "the data format is the same as 'change' event returns",
        propDesc18: "left and right button clicked events。 the args of function will returns the type of events；",
        propDesc19: "'left'：clicked left<br>'right'：clicked right",
        propDesc20: "When the maxDate/minDate date is set, this event will be triggered when you click the left and right buttons and slide to the far left / right. The callback function returns to the left and right directions. When the left and right buttons slide to the end, click the button again, and the 'swipeClick' event will not be triggered",
        propDesc21: "'left'：swiped to the minDate <br>'right'：swiped to the maxDate",
        propDesc22: "Personalized configuration of weekend date style：",
        propDesc23: "Based on the possible usage scenarios, the channel of personalized style setting is provided for weekend days；",
        propDesc24: "You can check the elements and find that the date grid of the weekend comes with a class name called ‘date-item-weekend’；",
        propDesc25: "Based on this class name, you can use any style in the project to override the original style of the component, including but not limited to background, text color, border, after/before pseudo-element style……",

        example: "e.g.",
        week: " ",
        year: "-",
        month: "",
        eg1: "set init choosedDate",
        eg2: "set date range",
        eg3: "set single click interval days",
        eg4: "set language",
        eg5: "set custom colors,icons,and styles",
        eg6: "display by weekly calendar",

        eg1_detail: "The default choosedDate is 'today' (new Date())，you can set any date as the choosedDate。",
        eg2_detail: "Because the calendar component is width adaptive, when setting prop 'maxdate', please consider that the last date on the right may not be displayed completely; you can make the last date display complete by setting the width of the parent component container. when swipe to the max or min date (if it has been set), the event 'swipeToEnd' will be triggered.",
        eg3_detail: "You can set the swipe interval days, the default value is '7'.",
        eg5_detail: ["The background-color of choosed date","the background-color of today hasn't been choosed","only for Chinese","the position of choosedDate when init coponent","show border-top of the calendar component","you can use other icons, imgs… to instead the default arrows icon by slots"],
        eg6_detail: ["Set the component width to 410px, set prop 'swipeSpace' to '7' day;","Customize the style of a calendar header to display the current month and year data;","The date of Monday in current week needs to be passed in as 'choosedDate', so the value needs to be computed dynamically","Dynamically change the month and year data of the current week through the 'firstdaychange' event provided by the component(This event will return the data of the leftmost date of the component);"],

    }
}

export default lang